package net.flowas.genericcrud.dto;

import java.util.List;

public class PageModdel<T> {
	private Long total;
	private Integer currentPage;
	private Integer pageSize;
	private List<T> rows;

	public PageModdel() {
		
	}
	
	public PageModdel(List<T> rows,Long total) {
		this.rows=rows;
		this.total=total;
	}
	
	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public Integer getCurrentPage() {
		return currentPage;
	}

	public void setCurrentPage(Integer currentPage) {
		this.currentPage = currentPage;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public List<T> getRows() {
		return rows;
	}

	public void setRows(List<T> rows) {
		this.rows = rows;
	}

}
